package com.wxzz.elearing.evaluation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxzz.elearing.evaluation.entity.TopicAnswer;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 测评题答案 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-04-10
 */
public interface TopicAnswerMapper extends BaseMapper<TopicAnswer> {

    @Delete("DELETE FROM topic WHERE id = #{id}")
    Integer deleteByTopicAnswerId(@Param("id")Long id);

}
